<template>
  <div class="home">
    <HeaderNav />
    <div class="main-container">
      <SideMenu />
      <div class="content">
        <router-view />
      </div>
    </div>
  </div>
</template>

<script setup>
import HeaderNav from '@/components/layout/HeaderNav.vue';
import SideMenu from '@/components/layout/SideMenu.vue';
</script>

<style scoped>
.home {
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-container {
  flex: 1;
  display: flex;
}

.content {
  flex: 1;
  padding: 24px;
  background-image: linear-gradient(126deg, #f4f7ff, #eeedfb, #c4e9fc);
  overflow-y: auto;
}
</style>
